# Contributor: Robert Sacks <robert@sacks.email>
# Maintainer: Robert Sacks <robert@sacks.email>
pkgname=wl-clipboard-x11
pkgver=5
pkgrel=3
pkgdesc="A wrapper to use wl-clipboard as a drop-in replacement to X11 clipboard tools"
url="https://github.com/brunelli/wl-clipboard-x11"
arch="noarch"
license="GPL-3.0-or-later"
options="!check"
depends="wl-clipboard"
# other provider of cmd:xclip is xclip
# other provider of cmd:xsel is xsel
provider_priority=10  # lowest
provides="cmd:xclip cmd:xsel"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/brunelli/wl-clipboard-x11/archive/v$pkgver.tar.gz"

package() {
	DESTDIR="$pkgdir" make install
}

sha512sums="
3c40c2f9b44ca5f10d16ae5a696fba04c8fea9a94be910055f3d627d975eea337507dedf9c9f9ffaee90fb8b5a7d77786b34b95a6ad08a31b45fefb0514ef468  wl-clipboard-x11-5.tar.gz
"
